<?php
/**
 * Created by XM·Tan.
 * Motto: Who shuts love out, in turn shall be shut out from love.
 * Date: 2021/3/22 22:19
 */

/**  该文件主要是存放业务状态码相关的配置 ...*/

return [
    'success' => 1,
    'error' => 0,

    'not_login' => -1,
    'user_is_register' => -2,

    'action_not_found' => -3,
    'controller_not_found' => -4,

    //mysql 相关的状态配置
    'mysql' => [
        'table_normal' => 1,  // 正常
        'table_pedding' => 0, // 带审核
        'table_delete' => 99, // 已删除
    ]
];